﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConfigInfoWebPlatform.Model
{
    /// <summary>
    /// 公共配置文件模型
    /// </summary>
    public class CommonConfigFileInfoModel
    {
        /// <summary>
        /// 名称，如果是文件就是文件名，如果是目录就是文件夹名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string path { get; set; }

        /// <summary>
        /// 父级路径
        /// </summary>
        public string parentPath { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public string fileSize { get; set; }

        /// <summary>
        /// 文件更新时间
        /// </summary>
        public string updateTime { get; set; }

        /// <summary>
        /// 文件创建时间
        /// </summary>
        public string createdTime { get; set; }

        /// <summary>
        /// 备注信息，保存xml根节点的explain属性的value
        /// </summary>
        public string note { get; set; }
    }

    public class CommonConfigFileJsonObject
    {
        public int code { get; set; }

        public string msg { get; set; }

        public int count { get; set; }

        public int? isOperate { get; set; }

        public List<CommonConfigFileInfoModel> data { get; set; }

    }
}
